using System;
using System.Collections.Generic;
using VoiceAd.Models;

namespace VoiceAd.DAL
{
    public interface ICampaignRepository : IDisposable
    {
        IEnumerable<tblCampaign> GetListCampaigns();
        IEnumerable<tblCampaign> GetListCampaignsByUserId(string strUserId);
        IEnumerable<tblCampaign> GetListCampaignsbyCusId();
        IEnumerable<tblCampaign> GetListCampaignsbyCusId(string strTitle);
        IEnumerable<tblCampaign> GetListActiveCampaignsbyCusId();
        IEnumerable<tblCampaign> GetListCampaignsbyStationId();
        IEnumerable<tblCampaign> GetListActiveCampaignsbyStationId();
        IEnumerable<tblDistrictProvince> CampaignGetListDistrict(int pCampaignID, int pCusId);
        tblCampaign GetCampaignById(int id);
        IEnumerable<tblListMonth> tblCampaignGetListMonth(int CampId);
        IEnumerable<tblPrintSchedule> PrintSchedule(int CampId, int StationId, int monthId);
        IEnumerable<tblPrintSchedule> PrintCertificates(int CampId, int StationId, int MonthId);
        IEnumerable<tblExcel> PrintCampaign(int id);
        int GetCountDay(int campId, int stationId, int monthId);
        void InsStationByCampId(int campId, int stationId);
        void InsCampaign(tblCampaign tblcampaign);
        void UpdCampaign(tblCampaign tblcampaign);
        void DelCampaign(int id);
        int DeleteCampaignWithDetail(int id);
        int GetSumStation(int id);
    }
}
